'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.post('/api/device/log/create', controller.device.createLog);
  require('./router/tenant')(app);
  require('./router/user')(app);
  require('./router/tree')(app);
};
